package com.njy.aop.test;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;

public class test4 {
    public static void main(String[] args) {
/*        String s = "1645407812000";
        Date date = new Date();
        long l = Long.parseLong(s);
        date.setTime(l);
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String format = dateFormat.format(date);
        System.out.println(format);

        System.out.println(String.valueOf(new Date()));*/

        HashMap map = new HashMap<String, String>();
        map.put("1","1_1");
        map.put("2","2_2");
        map.forEach((i,m)->{
            System.out.println(map.get(i));
        });

    }
}
